package com.hw.springcloud;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @Classname: orderMain80
 * @Description: 描述
 * @Date: 2021/6/9
 * @Author: huwei
 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@Slf4j
@EnableEurekaClient
// 改变Ribbon规则后需要添加这个注解(参数:服务名称(因为Eureka要转发,所以写转发后的名称(大写)),规则类)
//@RibbonClient(name = "CLOUD-PAYMENT-SERVICE",configuration = MySelfRule.class)
public class orderMain80 {
    public static void main(String[] args) {
        SpringApplication.run(orderMain80.class, args);
        log.info("80端口启动");
    }
}
